// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:07

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   ns.java

package com.zelix;

import java.io.*;

// Referenced classes of package com.zelix:
//            is, ac, xs, om, 
//            hs, jb, jm

public class ns extends is
    implements om
{

    float i;
    private static String z[];

    ns(int j, jb jb, jm jm)
        throws IOException
    {
        super(j, jm);
        i = jb.readFloat();
    }

    public String a()
    {
        return z[1];
    }

    public String b()
    {
        return h();
    }

    public String h()
    {
        return String.valueOf(i);
    }

    public int l()
    {
        return 4;
    }

    public void a(String s)
        throws ac
    {
        float f;
        try
        {
            f = Float.valueOf(s).floatValue();
        }
        catch(NumberFormatException _ex)
        {
            throw new ac(s + z[0]);
        }
        i = f;
        d();
    }

    static xs b(int j, jb jb, jm jm)
        throws IOException
    {
        jb.skipBytes(4);
        return xs.a(jm, 1);
    }

    protected void a(DataOutputStream dataoutputstream)
        throws IOException
    {
        dataoutputstream.writeByte(4);
        dataoutputstream.writeFloat(i);
    }

    private static String z(char ac[]) {
        for (int i = 0; i < ac.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key =0x54;
                    break;
                case 1:
                    key =34;
                    break;
                case 2:
                    key =124;
                    break;
                case 3:
                    key =75;
                    break;
                default:
                    key =121;
                    break;
            }
            ac[i] ^= key;
        }
        return new String(ac).intern();
    }

    static 
    {
        String as[];
        as = new String[2];
        as[0] = "tK\017k\027;V\\*Y\"C\020\"\035tD\020$\030 ";
        as[1] = "2N\023*\r";
        for(int i = 0; i<as.length; i++){
            char chs[] = as[i].toCharArray();
            as[i] = z(chs);
        }
        z = as;
    }
}